home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 026-050 / scopedisk44 / magicsqr / magicsquare.doc < prev    next >
Text File  |  1995-03-18  |  2KB  |  98 lines

  1.                                  MAGIC SQUARE
  2.     
  3. This is based on one of the games the electronic game MERLIN plays. The object
  4. of the game is to select a sequence of pattern transformations which will result
  5. in generating the magic square. The program starts by generating an initial
  6. pattern on a 3 X 3 grid which is numbered from left to right and top to bottom
  7. like this:
  8.  
  9.            1   2   3   Grid Numbering (the actual     ***       ***
  10.                        initial pattern would look     ***       ***
  11.            4   5   6   something like this:)               ***
  12.                                                            ***
  13.            7   8   9                                            ***
  14.                                                                 ***
  15.  
  16.  
  17. The object then is to transform the initial pattern into this pattern which is
  18. the magic square.  
  19.                   ***  ***  ***
  20.                   ***  ***  ***
  21.  
  22.                   ***       ***   Magic Square
  23.                   ***       ***
  24.  
  25.                   ***  ***  ***
  26.                   ***  ***  ***
  27.  
  28. Clicking your left mouse button on one of the nine blocks causes the pattern to
  29. be transformed into a new pattern. Guess the correct sequence for the current
  30. pattern and you generate the magic square. There is a mathematical solution
  31. which guarantees a magic square in 9 or less transformations. If you would like
  32. to discover the solution along these lines study up on your linear algebra,
  33. specifically study vector and matrix transformation.
  34.  
  35. For the rest, you simply click away until you hit the magic sequence, or if you
  36. find yourself totally frustrated there is hope. Just click on the SOLVE window
  37. in the lower left hand corner and a solution will present itself. Be prepared to
  38. memorize it as it won't stay on the screen long. Click on the sequence and you
  39. will arrive at the magic square.  
  40.  
  41. This program is written in basic and uses a little speech so have the Basic
  42. Extras disk loaded.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.      
  95.    
  96.         
  97.  
  98.